package com.qf.service;

import com.qf.entity.Student;
import com.qf.entity.StudentVO;

import java.util.List;

public interface StudentService {
     Student findById(int id);


     List<Student> findAllStudent();

     List<Student> findStudentByAgeOrName(String name, Integer age);

     int addStudent(Student student);

     int updateStudent(Student student);

     int deleteStudent(int id);

     void deleteBatch(List<Integer> ids);

     List<StudentVO> findAllStudentVO();

     StudentVO findStudentAndAllSubjectByStuid(int sid);

     StudentVO findStudentMsgByStuid(int sid);

     List<StudentVO> findAllStudentAndClassroomV2();

     StudentVO getSubjectById(int id);

     List<Integer> findAllSubjectId(int sid);
}
